home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '93 / Hacks '93 / Windoid / InfinityWindoid.h < prev    next >
Text File  |  1993-06-18  |  1KB  |  34 lines

  1. /******************************************************************************
  2.  
  3.     FILE:
  4.         InfinityWindoid.h
  5.         
  6.     DESCRIPTION:
  7.         This file contains headers that can be used by an application using
  8.         the Infinity Windoid WDEF.
  9.  
  10.         In order to create a window using the Infinity Windoid WDEF, the
  11.         following constants, defined here, are useful:
  12.             kInfinityWindoidProc
  13.             kVerticalTitlebarProc
  14.             zoomDocProc                (defined in Windows.h)
  15.  
  16.         For instance, if you want a new windoid with the titlebar down the
  17.         left side of the window and no zoom box:
  18.  
  19.             theWindow = NewWindow( &storage, bounds, title, visible, 
  20.                                    kInfinityWindoidProc + kVerticalTitlebarProc, 
  21.                                    behind, goAwayFlag, refCon );
  22.  
  23.         The goAwayFlag will determine if the windoid has a close box.
  24.         If a zoom box is desired, just add zoomDocProc to theProc.
  25.  
  26. ******************************************************************************/
  27.  
  28. #define kInfinityWindoidProc    (128 * 16)
  29.     //    if you change the ID of the WDEF that is created, change the 128 to
  30.     //    the new ID.
  31.  
  32. #define kVerticalTitlebarProc    2
  33.  
  34.